package ar.com.caeycae.spring;

import org.springframework.context.support.ClassPathXmlApplicationContext;

public class Test {

	public static void main(String[] args) {
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("ar/com/caeycae/spring/rey.xml");
		Rey rey = context.getBean("reyJorge", Rey.class);
		rey.embarcarseEnAventura();
		context.close();
	}
}
